package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.PromotionDepot;
import com.jsh.erp.datasource.entities.PromotionDepotExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PromotionDepotMapper {
    long countByExample(PromotionDepotExample example);

    int deleteByExample(PromotionDepotExample example);

    int deleteByPrimaryKey(String id);

    int insert(PromotionDepot record);

    int insertSelective(PromotionDepot record);

    List<PromotionDepot> selectByExample(PromotionDepotExample example);

    PromotionDepot selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PromotionDepot record, @Param("example") PromotionDepotExample example);

    int updateByExample(@Param("record") PromotionDepot record, @Param("example") PromotionDepotExample example);

    int updateByPrimaryKeySelective(PromotionDepot record);

    int updateByPrimaryKey(PromotionDepot record);
}